package com.qyer.lxp.product.service;

import com.qyer.lxp.common.framework.exception.QyerClientException;
import com.qyer.lxp.model.Response;
import com.qyer.lxp.model.price.normal.Price;
import com.qyer.lxp.model.product.lastminute.Lastminute_all;
import com.qyer.lxp.model.user.User;
import com.qyer.lxp.product.model.ProductParam;

import javax.validation.constraints.Min;

/**
 * Created by jiangping on 16/5/24.
 */

public interface ITestService {

    User getUser(@Min(value = 1L, message = "User ID must be greater than 1") Long id/*, HttpServletRequest request*/);

    String getName(String id) throws Exception;

    String getObject(Price price);

    Response<Price> getPriceResponse(Price price);

    public Response<Lastminute_all> getProductInfo(ProductParam param)throws Exception;
}
